package com.chen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chen.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 门票价格体系表
 * </p>
 *
 * @author 陈永鹏
 * @since 2019-03-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("zs_g_tickets_price")
public class GTicketsPrice extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 门票价格体系表
     */
    @TableId(value = "gtp_id", type = IdType.AUTO)
    private Integer gtp_id;

    /**
     * 商品ID
     */
    private Integer goods_id;

    /**
     * 价格类型 1成人票 2老人 3小孩
     */
    private Integer ticket_type;

    /**
     * 原价 单位分
     */
    private Integer price;

    /**
     * 原价 单位分
     */
    private Integer ori_price;

    /**
     * 优惠金额
     */
    private Integer discount_amount;


}
